import request from '@/utils/request'
//题库章节api
// 题库章节列表
export function getSctktChapterList(params) {
  return request({
    url: '/sctkChapter/list',
    method: 'get',
    params
  })
}

// 新增用户角色
export function addSctktChapter(data) {
  return request({
    url: `/sctkChapter/save`,
    method: 'post',
    data
  })
}
// 编辑章节
export function updateSctktChapter(data) {
  return request({
    url: `/sctkChapter/update`,
    method: 'post',
    data
  })
}
// 删除题库章节
export function delSctktChapter(params) {
  return request({
    url: `/sctkChapter/delete`,
    method: 'delete',
    params
  })
}

